Menu Top
Complete Course of Mathematics
Topic 1: Numbers & Numerical Applications Topic 2: Algebra Topic 3: Quantitative Aptitude
Topic 4: Geometry Topic 5: Construction Topic 6: Coordinate Geometry
Topic 7: Mensuration Topic 8: Trigonometry Topic 9: Sets, Relations & Functions
Topic 10: Calculus Topic 11: Mathematical Reasoning Topic 12: Vectors & Three-Dimensional Geometry
Topic 13: Linear Programming Topic 14: Index Numbers & Time-Based Data Topic 15: Financial Mathematics
Topic 16: Statistics & Probability


Content On This Page
Section Formula for Internal Division in 3D Mid-point Formula in 3D Section Formula for External Division in 3D
Centroid of a Triangle/Tetrahedron in 3D (Implicit)


Section Formula in Three Dimensions



Section Formula for Internal Division in 3D

The section formula in three-dimensional geometry is a direct extension of the 2D section formula. It provides a method to find the coordinates of a point that divides the line segment connecting two given points in space, either internally (between the endpoints) or externally (on the extension of the segment), in a specific ratio.

This subheading focuses on the case of internal division in 3D space.

Internal Division

Let $P(x_1, y_1, z_1)$ and $Q(x_2, y_2, z_2)$ be two distinct points in three-dimensional space. A point $R(x, y, z)$ is said to divide the line segment $PQ$ internally in the ratio $m:n$ if $R$ lies on the line segment $PQ$ (between $P$ and $Q$) such that the ratio of the length of the segment $PR$ to the length of the segment $RQ$ is $m:n$.

$\frac{PR}{RQ} = \frac{m}{n}$

(Condition for Internal Division)

Here, $m$ and $n$ are positive real numbers representing the ratio.

Internal division of line segment PQ by point R in ratio m:n

Formula

The coordinates of the point $R(x, y, z)$ that divides the line segment joining $P(x_1, y_1, z_1)$ and $Q(x_2, y_2, z_2)$ internally in the ratio $m:n$ are given by the following formulas for each coordinate:

$\mathbf{x = \frac{mx_2 + nx_1}{m + n}}$

$\mathbf{y = \frac{my_2 + ny_1}{m + n}}$

$\mathbf{z = \frac{mz_2 + nz_1}{m + n}}$

These can be compactly written as a single coordinate triplet:

$\mathbf{R(x, y, z) = \left( \frac{mx_2 + nx_1}{m + n}, \frac{my_2 + ny_1}{m + n}, \frac{mz_2 + nz_1}{m + n} \right)}$


Derivation Outline

The derivation of the 3D internal section formula is analogous to the 2D case and can be understood by considering the projections of the points onto the coordinate planes or axes, or more elegantly using vectors.

Method 1: Using Projections (Conceptual)

Imagine projecting the points $P(x_1, y_1, z_1)$, $Q(x_2, y_2, z_2)$, and $R(x, y, z)$ onto the XY-plane. Let the projected points be $P'(x_1, y_1, 0)$, $Q'(x_2, y_2, 0)$, and $R'(x, y, 0)$ respectively. Since P, Q, R are collinear and R divides PQ in the ratio m:n, their projections $P', Q', R'$ onto the XY-plane are also collinear, and $R'$ divides the segment $P'Q'$ in the same ratio $m:n$.

We can apply the 2D section formula to the points $P'(x_1, y_1)$ and $Q'(x_2, y_2)$ in the XY-plane, with the point $R'(x, y)$ dividing the segment in the ratio $m:n$. This gives us the formulas for the x and y coordinates of R:

$x = \frac{mx_2 + nx_1}{m + n}$

... (i)

$y = \frac{my_2 + ny_1}{m + n}$

... (ii)

Similarly, if we projected the points onto the XZ-plane ($y=0$), the projected points would be $(x_1, 0, z_1)$, $(x_2, 0, z_2)$, and $(x, 0, z)$. Applying the 2D section formula (for x and z coordinates this time) would confirm the formula for x and yield the formula for z:

$z = \frac{mz_2 + nz_1}{m + n}$

... (iii)

The same results would be obtained by projecting onto the YZ-plane ($x=0$).

Method 2: Using Vectors (More Formal)

Let $\vec{p}$, $\vec{q}$, and $\vec{r}$ be the position vectors of points P$(x_1, y_1, z_1)$, Q$(x_2, y_2, z_2)$, and R$(x, y, z)$ respectively, with respect to the origin O. The position vector of a point is the vector from the origin to that point, e.g., $\vec{p} = x_1 \hat{i} + y_1 \hat{j} + z_1 \hat{k}$.

The point R divides the segment PQ internally in the ratio m:n. This means $\vec{PR} = \frac{m}{n} \vec{RQ}$ (as vectors pointing in the same direction). However, it's more standard to use the fact that R is on the segment PQ and $\frac{|\vec{PR}|}{|\vec{RQ}|} = \frac{m}{n}$. As vectors with direction, $n\vec{PR} = m\vec{RQ}$.

In terms of position vectors: $n(\vec{r} - \vec{p}) = m(\vec{q} - \vec{r})$

$n\vec{r} - n\vec{p} = m\vec{q} - m\vec{r}$

Gather terms with $\vec{r}$ on one side:

$n\vec{r} + m\vec{r} = m\vec{q} + n\vec{p}$

$(m + n)\vec{r} = n\vec{p} + m\vec{q}$

Solve for $\vec{r}$:

$\vec{r} = \frac{n\vec{p} + m\vec{q}}{m + n}$

... (iv)

Now, substitute the position vectors in terms of coordinates:

$x\hat{i} + y\hat{j} + z\hat{k} = \frac{n(x_1\hat{i} + y_1\hat{j} + z_1\hat{k}) + m(x_2\hat{i} + y_2\hat{j} + z_2\hat{k})}{m + n}$

$x\hat{i} + y\hat{j} + z\hat{k} = \frac{(nx_1 + mx_2)\hat{i} + (ny_1 + my_2)\hat{j} + (nz_1 + mz_2)\hat{k}}{m + n}$

$x\hat{i} + y\hat{j} + z\hat{k} = \left(\frac{mx_2 + nx_1}{m + n}\right)\hat{i} + \left(\frac{my_2 + ny_1}{m + n}\right)\hat{j} + \left(\frac{mz_2 + nz_1}{m + n}\right)\hat{k}$

Equating the coefficients of $\hat{i}$, $\hat{j}$, and $\hat{k}$ on both sides, we obtain the coordinates of R:

$x = \frac{mx_2 + nx_1}{m + n}$

... (v)

$y = \frac{my_2 + ny_1}{m + n}$

... (vi)

$z = \frac{mz_2 + nz_1}{m + n}$

... (vii)

These are the same formulas obtained using projections.


Example 1. Find the coordinates of the point which divides the line segment joining the points P(-2, 3, 5) and Q(1, -4, 6) internally in the ratio 2:3.

Answer:

Given the coordinates of the two points:

$P(x_1, y_1, z_1) = (-2, 3, 5)$

$Q(x_2, y_2, z_2) = (1, -4, 6)$

The ratio of internal division is $m:n = 2:3$. So, $m=2$ and $n=3$.

Let the required point be $R(x, y, z)$. Using the section formula for internal division in 3D:

$x = \frac{mx_2 + nx_1}{m + n}$

... (i)

Substitute the values into equation (i):

$x = \frac{(2)(1) + (3)(-2)}{2 + 3} = \frac{2 - 6}{5} = \frac{-4}{5}$

$x = -\frac{4}{5}$

... (ii)

$y = \frac{my_2 + ny_1}{m + n}$

... (iii)

Substitute the values into equation (iii):

$y = \frac{(2)(-4) + (3)(3)}{2 + 3} = \frac{-8 + 9}{5} = \frac{1}{5}$

$y = \frac{1}{5}$

... (iv)

$z = \frac{mz_2 + nz_1}{m + n}$

... (v)

Substitute the values into equation (v):

$z = \frac{(2)(6) + (3)(5)}{2 + 3} = \frac{12 + 15}{5} = \frac{27}{5}$

$z = \frac{27}{5}$

... (vi)

From (ii), (iv), and (vi), the coordinates of the point R are $\left(-\frac{4}{5}, \frac{1}{5}, \frac{27}{5}\right)$.

The coordinates of the point are $\mathbf{\left(-\frac{4}{5}, \frac{1}{5}, \frac{27}{5}\right)}$.


3D Section Formula (Internal Division) Summary

Formula:

Point $R(x, y, z)$ dividing segment joining $P(x_1, y_1, z_1)$ and $Q(x_2, y_2, z_2)$ internally in ratio $m:n$ is:

$\mathbf{R(x, y, z) = \left( \frac{mx_2 + nx_1}{m + n}, \frac{my_2 + ny_1}{m + n}, \frac{mz_2 + nz_1}{m + n} \right)}$

Key Idea:

The formulas for the x, y, and z coordinates are independent and analogous to the 2D formula.

Ratio $m:n$:

PR : RQ = m : n.

Derivation:

Can be derived using projections onto coordinate planes or using vector methods.



Mid-point Formula in 3D

The midpoint of a line segment in three dimensions is the point that divides the segment into two segments of equal length. It is located exactly halfway between the two endpoints. In terms of the section formula, the midpoint is the point that divides the segment internally in the ratio $1:1$.

The 3D midpoint formula is a special case of the 3D section formula for internal division, where the ratio $m:n$ is $1:1$.

Derivation of the Mid-point Formula in 3D

Let $P(x_1, y_1, z_1)$ and $Q(x_2, y_2, z_2)$ be the coordinates of the two endpoints of a line segment in 3D space.

Let $M(x, y, z)$ be the coordinates of the midpoint of the segment PQ.

The midpoint M divides the segment PQ internally in the ratio $1:1$. This means we can use the internal section formula with $m=1$ and $n=1$.

The section formula for internal division is:

$x = \frac{mx_2 + nx_1}{m + n}$

$y = \frac{my_2 + ny_1}{m + n}$

$z = \frac{mz_2 + nz_1}{m + n}$

Substitute $m=1$ and $n=1$ into these formulas:

Calculating the x-coordinate of M:

$x = \frac{(1) \cdot x_2 + (1) \cdot x_1}{1 + 1}$

... (i)

Simplify equation (i):

$x = \frac{x_2 + x_1}{2} = \frac{x_1 + x_2}{2}$

... (ii)

Calculating the y-coordinate of M:

$y = \frac{(1) \cdot y_2 + (1) \cdot y_1}{1 + 1}$

... (iii)

Simplify equation (iii):

$y = \frac{y_2 + y_1}{2} = \frac{y_1 + y_2}{2}$

... (iv)

Calculating the z-coordinate of M:

$z = \frac{(1) \cdot z_2 + (1) \cdot z_1}{1 + 1}$

... (v)

Simplify equation (v):

$z = \frac{z_2 + z_1}{2} = \frac{z_1 + z_2}{2}$

... (vi)

Mid-point Formula in 3D

Combining the results from equations (ii), (iv), and (vi), the coordinates of the midpoint $M(x, y, z)$ of the line segment joining $P(x_1, y_1, z_1)$ and $Q(x_2, y_2, z_2)$ are given by:

$\mathbf{M(x, y, z) = \left( \frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2}, \frac{z_1 + z_2}{2} \right)}$

In essence, the coordinates of the midpoint are found by taking the average of the corresponding x, y, and z coordinates of the two endpoints.


Example 1. Find the coordinates of the mid-point of the line segment joining the points A(2, 3, -4) and B(8, -5, 6).

Answer:

Given the coordinates of the two endpoints:

$A(x_1, y_1, z_1) = (2, 3, -4)$. So, $x_1 = 2, y_1 = 3, z_1 = -4$.

$B(x_2, y_2, z_2) = (8, -5, 6)$. So, $x_2 = 8, y_2 = -5, z_2 = 6$.

Let $M(x, y, z)$ be the midpoint of the line segment AB.

Using the midpoint formula in 3D:

$x = \frac{x_1 + x_2}{2}$

... (i)

Substitute the x-coordinates into equation (i):

$x = \frac{2 + 8}{2} = \frac{10}{2}$

$x = 5$

... (ii)

$y = \frac{y_1 + y_2}{2}$

... (iii)

Substitute the y-coordinates into equation (iii):

$y = \frac{3 + (-5)}{2} = \frac{3 - 5}{2} = \frac{-2}{2}$

$y = -1$

... (iv)

$z = \frac{z_1 + z_2}{2}$

... (v)

Substitute the z-coordinates into equation (v):

$z = \frac{-4 + 6}{2} = \frac{2}{2}$

$z = 1$

... (vi)

From (ii), (iv), and (vi), the coordinates of the midpoint M are $(5, -1, 1)$.

The coordinates of the mid-point of the line segment joining A(2, 3, -4) and B(8, -5, 6) are $\mathbf{(5, -1, 1)}$.


3D Midpoint Formula (Summary)

Formula:

The midpoint $M(x, y, z)$ of the segment joining $P(x_1, y_1, z_1)$ and $Q(x_2, y_2, z_2)$ is:

$\mathbf{M(x, y, z) = \left( \frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2}, \frac{z_1 + z_2}{2} \right)}$

Key Idea:

Average of the corresponding coordinates of the endpoints.

Special Case of Section Formula:

Corresponds to internal division in the ratio $1:1$.



Section Formula for External Division in 3D

In contrast to internal division, which locates a point between two endpoints, external division concerns a point that lies on the line containing the segment, but outside the segment itself. The section formula can also be used to find the coordinates of such a point in three dimensions.

External Division

Let $P(x_1, y_1, z_1)$ and $Q(x_2, y_2, z_2)$ be two distinct points in 3D space. A point $R(x, y, z)$ is said to divide the line segment $PQ$ externally in the ratio $m:n$ if R lies on the line passing through P and Q, but not on the segment PQ, such that the ratio of the distance from P to R ($PR$) to the distance from Q to R ($QR$) is equal to the given ratio $m:n$.

$\frac{PR}{QR} = \frac{m}{n}$

(Condition for External Division)

Here, $m$ and $n$ are positive real numbers representing the ratio of lengths. The location of R relative to P and Q depends on the comparison of $m$ and $n$:

The case $m=n$ is not possible for external division of distinct points P and Q, as it would imply $PR=QR$, which means R is the midpoint of PQ (internal division) or R is on the perpendicular bisector plane of PQ (not on the line PQ unless it's the midpoint, which is internal).

External division of line segment PQ by point R in ratio m:n

Formula

The coordinates of the point $R(x, y, z)$ that divides the line segment joining $P(x_1, y_1, z_1)$ and $Q(x_2, y_2, z_2)$ externally in the ratio $m:n$ ($m \neq n$) are given by:

$\mathbf{x = \frac{mx_2 - nx_1}{m - n}}$

$\mathbf{y = \frac{my_2 - ny_1}{m - n}}$

$\mathbf{z = \frac{mz_2 - nz_1}{m - n}}$

These can be written as a single coordinate triplet:

$\mathbf{R(x, y, z) = \left( \frac{mx_2 - nx_1}{m - n}, \frac{my_2 - ny_1}{m - n}, \frac{mz_2 - nz_1}{m - n} \right)}$

Relation to Internal Division Formula:

Notice that the formula for external division is very similar to the formula for internal division. The only difference is that the plus signs in the internal division formula are replaced by minus signs in the external division formula. This is consistent with the interpretation that external division in the ratio $m:n$ is equivalent to internal division in the ratio $m:(-n)$ or $(-m):n$ in some contexts (related to directed ratios).

If you replace $n$ with $-n$ in the internal section formula: $x = \frac{mx_2 + (-n)x_1}{m + (-n)} = \frac{mx_2 - nx_1}{m - n}$ $y = \frac{my_2 + (-n)y_1}{m + (-n)} = \frac{my_2 - ny_1}{m - n}$ $z = \frac{mz_2 + (-n)z_1}{m + (-n)} = \frac{mz_2 - nz_1}{m - n}$

This provides an easy way to remember the external division formula if you know the internal one.


Example 1. Find the coordinates of the point which divides the line segment joining P(1, -2, 3) and Q(3, 4, -5) externally in the ratio 2:1.

Answer:

Given the coordinates of the two points:

$P(x_1, y_1, z_1) = (1, -2, 3)$. So, $x_1 = 1, y_1 = -2, z_1 = 3$.

$Q(x_2, y_2, z_2) = (3, 4, -5)$. So, $x_2 = 3, y_2 = 4, z_2 = -5$.

The ratio of external division is $m:n = 2:1$. So, $m=2$ and $n=1$. Note that $m > n$ (2 > 1), so the point will lie on the extension beyond Q.

Let the required point be $R(x, y, z)$. Using the section formula for external division in 3D:

$x = \frac{mx_2 - nx_1}{m - n}$

... (i)

Substitute the values into equation (i):

$x = \frac{(2)(3) - (1)(1)}{2 - 1} = \frac{6 - 1}{1}$

$x = 5$

... (ii)

$y = \frac{my_2 - ny_1}{m - n}$

... (iii)

Substitute the values into equation (iii):

$y = \frac{(2)(4) - (1)(-2)}{2 - 1} = \frac{8 - (-2)}{1} = \frac{8 + 2}{1} = \frac{10}{1}$

$y = 10$

... (iv)

$z = \frac{mz_2 - nz_1}{m - n}$

... (v)

Substitute the values into equation (v):

$z = \frac{(2)(-5) - (1)(3)}{2 - 1} = \frac{-10 - 3}{1} = \frac{-13}{1}$

$z = -13$

... (vi)

From (ii), (iv), and (vi), the coordinates of the point R are $(5, 10, -13)$.

The coordinates of the point that divides the line segment joining P(1, -2, 3) and Q(3, 4, -5) externally in the ratio 2:1 are $\mathbf{(5, 10, -13)}$.

Geometric Check:

P(1, -2, 3), Q(3, 4, -5), R(5, 10, -13).

$|PQ| = \sqrt{(3-1)^2 + (4-(-2))^2 + (-5-3)^2} = \sqrt{2^2 + 6^2 + (-8)^2} = \sqrt{4 + 36 + 64} = \sqrt{104}$

$|QR| = \sqrt{(5-3)^2 + (10-4)^2 + (-13-(-5))^2} = \sqrt{2^2 + 6^2 + (-8)^2} = \sqrt{4 + 36 + 64} = \sqrt{104}$

Oops, check calculation. $|QR| = \sqrt{(5-3)^2 + (10-4)^2 + (-13-(-5))^2} = \sqrt{2^2 + 6^2 + (-13+5)^2} = \sqrt{4 + 36 + (-8)^2} = \sqrt{4+36+64} = \sqrt{104}$. This indicates $|PQ|=|QR|$, implying Q is the midpoint of PR. This is not right for 2:1 external division.

Let's re-check the ratio calculation: $PR : QR = 2 : 1$. This means $|PR| = 2 |QR|$. $|PR| = \sqrt{(5-1)^2 + (10-(-2))^2 + (-13-3)^2} = \sqrt{4^2 + 12^2 + (-16)^2} = \sqrt{16 + 144 + 256} = \sqrt{416}$. $\sqrt{416} = \sqrt{16 \times 26} = 4\sqrt{26}$.

$|QR| = \sqrt{(5-3)^2 + (10-4)^2 + (-13-(-5))^2} = \sqrt{2^2 + 6^2 + (-8)^2} = \sqrt{4 + 36 + 64} = \sqrt{104}$. $\sqrt{104} = \sqrt{4 \times 26} = 2\sqrt{26}$.

Is $|PR| = 2 |QR|$? Yes, $4\sqrt{26} = 2 (2\sqrt{26})$. The ratio is correct. My initial check was flawed.

The order of points on the line must be P-Q-R because $m>n$. This means R is on the extension beyond Q. $|PR|$ is the distance from P to R, and $|QR|$ is the distance from Q to R. The ratio $|PR|/|QR|$ should be 2/1. Our calculation shows this is correct.


3D Section Formula (External Division) Summary

Formula:

Point $R(x, y, z)$ dividing segment joining $P(x_1, y_1, z_1)$ and $Q(x_2, y_2, z_2)$ externally in ratio $m:n$ ($m \neq n$) is:

$\mathbf{R(x, y, z) = \left( \frac{mx_2 - nx_1}{m - n}, \frac{my_2 - ny_1}{m - n}, \frac{mz_2 - nz_1}{m - n} \right)}$

Key Idea:

Similar to internal division, but with minus signs. Can be derived from internal division by replacing $n$ with $-n$.

Ratio $m:n$:

$PR : QR = m : n$.

  • If $m > n$, R is on extension beyond Q.
  • If $m < n$, R is on extension beyond P.

Condition:

$m \neq n$ for distinct points P and Q.



Centroid of a Triangle/Tetrahedron in 3D

The concept of the centroid extends naturally to three-dimensional figures. For both triangles (which can be considered as 2D figures embedded in 3D space) and tetrahedrons, the centroid represents the geometric center or the center of mass of a uniform solid. The calculation of the centroid's coordinates in 3D relies implicitly on the section formula.

Centroid of a Triangle in 3D

The centroid of a triangle in 3D space is defined in the same way as in 2D: it is the point of intersection of the triangle's medians. A median connects a vertex to the midpoint of the opposite side.

Let the vertices of the triangle in 3D space be $A(x_1, y_1, z_1)$, $B(x_2, y_2, z_2)$, and $C(x_3, y_3, z_3)$.

To find the centroid $G$, we can use the property that the centroid divides each median in a 2:1 ratio. Consider the median from vertex A to the midpoint of side BC. Let D be the midpoint of BC.

Using the midpoint formula in 3D, the coordinates of D are:

$D \equiv \left( \frac{x_2 + x_3}{2}, \frac{y_2 + y_3}{2}, \frac{z_2 + z_3}{2} \right)$

... (i)

The centroid $G$ divides the median AD internally in the ratio $AG : GD = 2 : 1$. So, G divides the segment joining A$(x_1, y_1, z_1)$ and D$\left( \frac{x_2 + x_3}{2}, \frac{y_2 + y_3}{2}, \frac{z_2 + z_3}{2} \right)$ internally in the ratio $m:n = 2:1$.

Using the section formula for internal division in 3D for point G$(x, y, z)$ dividing AD:

Calculating the x-coordinate of G:

$G_x = \frac{m \cdot x_D + n \cdot x_A}{m + n} = \frac{2 \cdot (\frac{x_2 + x_3}{2}) + 1 \cdot x_1}{2 + 1}$

... (ii)

Simplify equation (ii):

$G_x = \frac{\frac{2(x_2 + x_3)}{2} + x_1}{3} = \frac{x_2 + x_3 + x_1}{3}$

$G_x = \frac{x_1 + x_2 + x_3}{3}$

... (iii)

Calculating the y-coordinate of G:

$G_y = \frac{m \cdot y_D + n \cdot y_A}{m + n} = \frac{2 \cdot (\frac{y_2 + y_3}{2}) + 1 \cdot y_1}{2 + 1}$

... (iv)

Simplify equation (iv):

$G_y = \frac{\frac{2(y_2 + y_3)}{2} + y_1}{3} = \frac{y_2 + y_3 + y_1}{3}$

$G_y = \frac{y_1 + y_2 + y_3}{3}$

... (v)

Calculating the z-coordinate of G:

$G_z = \frac{m \cdot z_D + n \cdot z_A}{m + n} = \frac{2 \cdot (\frac{z_2 + z_3}{2}) + 1 \cdot z_1}{2 + 1}$

... (vi)

Simplify equation (vi):

$G_z = \frac{\frac{2(z_2 + z_3)}{2} + z_1}{3} = \frac{z_2 + z_3 + z_1}{3}$

$G_z = \frac{z_1 + z_2 + z_3}{3}$

... (vii)

Centroid Formula for a Triangle in 3D:

The coordinates of the centroid $G(x, y, z)$ of a triangle with vertices $(x_1, y_1, z_1)$, $(x_2, y_2, z_2)$, and $(x_3, y_3, z_3)$ are the average of the corresponding coordinates of the vertices:

$\mathbf{G \equiv \left( \frac{x_1 + x_2 + x_3}{3}, \frac{y_1 + y_2 + y_3}{3}, \frac{z_1 + z_2 + z_3}{3} \right)}$


Centroid of a Tetrahedron

A tetrahedron is the three-dimensional analogue of a triangle; it is a polyhedron with four triangular faces, four vertices, and six edges. The centroid of a tetrahedron is its geometric center.

The centroid of a tetrahedron is the point of intersection of the four lines joining each vertex to the centroid of the opposite triangular face.

Let the vertices of a tetrahedron be $A(x_1, y_1, z_1)$, $B(x_2, y_2, z_2)$, $C(x_3, y_3, z_3)$, and $D(x_4, y_4, z_4)$.

Consider the line segment joining vertex D to the centroid of the opposite face, $\triangle ABC$. Let $G_{ABC}$ be the centroid of $\triangle ABC$. Using the centroid formula for a triangle:

$G_{ABC} \equiv \left( \frac{x_1 + x_2 + x_3}{3}, \frac{y_1 + y_2 + y_3}{3}, \frac{z_1 + z_2 + z_3}{3} \right)$

... (viii)

The centroid $G$ of the tetrahedron lies on the segment $D G_{ABC}$ and divides it internally in the ratio $3:1$ (vertex to opposite face centroid). So, G divides the segment joining $D(x_4, y_4, z_4)$ and $G_{ABC}(x_{G_{ABC}}, y_{G_{ABC}}, z_{G_{ABC}})$ internally in the ratio $m:n = 3:1$.

Using the section formula for internal division in 3D for point G$(x, y, z)$ dividing $D G_{ABC}$:

Calculating the x-coordinate of G:

$G_x = \frac{m \cdot x_{G_{ABC}} + n \cdot x_D}{m + n} = \frac{3 \cdot \left(\frac{x_1 + x_2 + x_3}{3}\right) + 1 \cdot x_4}{3 + 1}$

... (ix)

Simplify equation (ix):

$G_x = \frac{\frac{3(x_1 + x_2 + x_3)}{3} + x_4}{4} = \frac{x_1 + x_2 + x_3 + x_4}{4}$

$G_x = \frac{x_1 + x_2 + x_3 + x_4}{4}$

... (x)

Similarly, for the y and z coordinates:

$G_y = \frac{y_1 + y_2 + y_3 + y_4}{4}$

... (xi)

$G_z = \frac{z_1 + z_2 + z_3 + z_4}{4}$

... (xii)

Centroid Formula for a Tetrahedron:

The coordinates of the centroid $G(x, y, z)$ of a tetrahedron with vertices $(x_1, y_1, z_1)$, $(x_2, y_2, z_2)$, $(x_3, y_3, z_3)$, and $(x_4, y_4, z_4)$ are the average of the corresponding coordinates of the vertices:

$\mathbf{G \equiv \left( \frac{x_1 + x_2 + x_3 + x_4}{4}, \frac{y_1 + y_2 + y_3 + y_4}{4}, \frac{z_1 + z_2 + z_3 + z_4}{4} \right)}$


Example 1. Find the centroid of the triangle with vertices A(1, 1, 1), B(2, 3, 4), and C(6, 2, 1).

Answer:

Given the vertices of the triangle as $A(x_1, y_1, z_1) = (1, 1, 1)$, $B(x_2, y_2, z_2) = (2, 3, 4)$, and $C(x_3, y_3, z_3) = (6, 2, 1)$.

Let $G(x, y, z)$ be the centroid of $\triangle ABC$.

Using the centroid formula for a triangle in 3D:

$x = \frac{x_1 + x_2 + x_3}{3}$

... (i)

Substitute the x-coordinates into equation (i):

$x = \frac{1 + 2 + 6}{3} = \frac{9}{3}$

$x = 3$

... (ii)

$y = \frac{y_1 + y_2 + y_3}{3}$

... (iii)

Substitute the y-coordinates into equation (iii):

$y = \frac{1 + 3 + 2}{3} = \frac{6}{3}$

$y = 2$

... (iv)

$z = \frac{z_1 + z_2 + z_3}{3}$

... (v)

Substitute the z-coordinates into equation (v):

$z = \frac{1 + 4 + 1}{3} = \frac{6}{3}$

$z = 2$

... (vi)

From (ii), (iv), and (vi), the coordinates of the centroid are $(3, 2, 2)$.

The centroid of the triangle with vertices A(1, 1, 1), B(2, 3, 4), and C(6, 2, 1) is $\mathbf{(3, 2, 2)}$.


Example 2. Find the centroid of the tetrahedron with vertices P(0,0,0), Q(3,0,0), R(0,4,0), S(0,0,5).

Answer:

Given the vertices of the tetrahedron as $P(x_1, y_1, z_1) = (0, 0, 0)$, $Q(x_2, y_2, z_2) = (3, 0, 0)$, $R(x_3, y_3, z_3) = (0, 4, 0)$, and $S(x_4, y_4, z_4) = (0, 0, 5)$.

Let $G(x, y, z)$ be the centroid of the tetrahedron.

Using the centroid formula for a tetrahedron:

$x = \frac{x_1 + x_2 + x_3 + x_4}{4}$

... (i)

Substitute the x-coordinates into equation (i):

$x = \frac{0 + 3 + 0 + 0}{4} = \frac{3}{4}$

$x = \frac{3}{4}$

... (ii)

$y = \frac{y_1 + y_2 + y_3 + y_4}{4}$

... (iii)

Substitute the y-coordinates into equation (iii):

$y = \frac{0 + 0 + 4 + 0}{4} = \frac{4}{4}$

$y = 1$

... (iv)

$z = \frac{z_1 + z_2 + z_3 + z_4}{4}$

... (v)

Substitute the z-coordinates into equation (v):

$z = \frac{0 + 0 + 0 + 5}{4} = \frac{5}{4}$

$z = \frac{5}{4}$

... (vi)

From (ii), (iv), and (vi), the coordinates of the centroid are $\left(\frac{3}{4}, 1, \frac{5}{4}\right)$.

The centroid of the tetrahedron with vertices P(0,0,0), Q(3,0,0), R(0,4,0), S(0,0,5) is $\mathbf{\left(\frac{3}{4}, 1, \frac{5}{4}\right)}$.


Centroid in 3D (Summary)

Centroid of a Triangle (in 3D):

Vertices $(x_1, y_1, z_1)$, $(x_2, y_2, z_2)$, $(x_3, y_3, z_3)$. Centroid $G$ is:

$\mathbf{G \equiv \left( \frac{x_1 + x_2 + x_3}{3}, \frac{y_1 + y_2 + y_3}{3}, \frac{z_1 + z_2 + z_3}{3} \right)}$

Definition: Intersection of medians. Property: Divides median in 2:1 ratio.

Centroid of a Tetrahedron:

Vertices $(x_1, y_1, z_1)$, $(x_2, y_2, z_2)$, $(x_3, y_3, z_3)$, $(x_4, y_4, z_4)$. Centroid $G$ is:

$\mathbf{G \equiv \left( \frac{x_1 + x_2 + x_3 + x_4}{4}, \frac{y_1 + y_2 + y_3 + y_4}{4}, \frac{z_1 + z_2 + z_3 + z_4}{4} \right)}$

Definition: Intersection of lines from vertex to centroid of opposite face. Property: Divides these lines in 3:1 ratio.

Key Idea:

The centroid's coordinates are the simple average of the coordinates of the figure's vertices.

Connection to Section Formula:

The centroid formula for a triangle comes from dividing a median (segment from vertex to midpoint of opposite side) in a 2:1 ratio using the 3D section formula. The centroid formula for a tetrahedron comes from dividing a segment (from vertex to centroid of opposite face) in a 3:1 ratio using the 3D section formula.